package com.jk.smartelderlycare.service;

import com.jk.smartelderlycare.dto.SysLabel;
import com.jk.smartelderlycare.dto.sysVideo;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/11/15 8:53
 * @Version v1.0
 */
public interface SysVideoService {
    /**
     * @description: 视频后端分页查询
     * @param: [sysVideo, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.sysVideo>
     * @author hhk
     * @date: 2024/11/15 8:49
     */

    public PagedResponse<sysVideo> findSysVideoPaginationList( sysVideo video, Integer pageNum, Integer pageSize);
    /**
     * @description: 新增视频
     * @param: [video]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 8:50
     */

    public void addSysVideo( sysVideo video);
    /**
     * @description: 根据id删除信息
     * @param: [videoId]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 8:50
     */

    public void deleteSysVideoByVideoId( Long videoId);
    /**
     * @description: 根据id回显信息
     * @param: [videoId]
     * @return: com.jk.smartelderlycare.dto.sysVideo
     * @author hhk
     * @date: 2024/11/15 8:51
     */

    public sysVideo findSysVideoByVideoId( Long videoId);
    /**
     * @description: 修改视频
     * @param: [video]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 8:52
     */

    public void updateSysVideo( sysVideo video);
    /**
     * @description: 标签动态下拉列表
     * @param: []
     * @return: java.util.List<com.jk.smartelderlycare.dto.SysLabel>
     * @author hhk
     * @date: 2024/11/15 8:53
     */

    public List<SysLabel> findSysLabelList();

    /**
     * @description: 批量删除
     * @param: [ids]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 11:09
     */

    public void deleteSysVideoByIds( List<Integer> ids);

    /**
     * @description: 导出
     * @param: []
     * @return: void
     * @author hhk
     * @date: 2024/11/15 11:47
     */

    public List<sysVideo> findSysVideoList();

}
